﻿<%@ Page Title="" Language="C#" MasterPageFile="~/VSFuncionario.Master" AutoEventWireup="true" CodeBehind="AlunoCadastro.aspx.cs" Inherits="Presentation.AlunoCadastro" %>


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 119px;
        }
    </style>
</asp:Content>



<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">



    <div>
    
    
    
   
        <table style="width:145%;">
            <tr>
                <td class="style1">
                    &nbsp;</td>
                <td class="style2">
                    <asp:Label ID="Label11" runat="server" Text="Cadastro de Aluno"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;</td>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label1" runat="server" Text="RA:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtRa" runat="server"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label2" runat="server" Text="Nome:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtNome" runat="server" Width="270px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">

                    <asp:Label ID="Label3" runat="server" Text="CPF:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtCpf" runat="server" ></asp:TextBox>
                    <asp:MaskedEditExtender ID="txtCpf_MaskedEditExtender" runat="server" 
                        CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                        Mask="999.999.999-99" TargetControlID="txtCpf">
                    </asp:MaskedEditExtender>
                    </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label4" runat="server" Text="E-Mail:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtEmail" runat="server" Width="270px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label5" runat="server" Text="Senha:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtSenha" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:PasswordStrength ID="txtSenha_PasswordStrength" runat="server" 
                        CalculationWeightings="50;15;15;20" Enabled="True" 
                        PrefixText="Grau de Dificuldade: " TargetControlID="txtSenha" 
                        TextStrengthDescriptions="Baixo; Médio; Alto">
                    </asp:PasswordStrength>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToCompare="txtSenha" ControlToValidate="txtConfirmaSenha" 
                        Display="Dynamic" ErrorMessage="Senhas Não conferem" ForeColor="Red"></asp:CompareValidator>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label6" runat="server" Text="Confirma Senha:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtConfirmaSenha" runat="server" TextMode="Password"></asp:TextBox>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label7" runat="server" Text="Data Nascimento:"></asp:Label>
                </td>
                <td class="style2">
                
                    <asp:TextBox ID="txtDataNascimento" runat="server" ></asp:TextBox>
                    <asp:CalendarExtender ID="txtDataNascimento_CalendarExtender" runat="server" 
                        Enabled="True" Format="dd/MM/yyyy" TargetControlID="txtDataNascimento">
                    </asp:CalendarExtender>
                    <asp:MaskedEditExtender ID="txtDataNascimento_MaskedEditExtender" 
                        runat="server" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                        Mask="99/99/9999" TargetControlID="txtDataNascimento">
                    </asp:MaskedEditExtender>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label8" runat="server" Text="Telefone:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtTelefone" runat="server"></asp:TextBox>
                    <asp:MaskedEditExtender ID="txtTelefone_MaskedEditExtender" runat="server" 
                        CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                        Mask="(99)9999-9999" TargetControlID="txtTelefone">
                    </asp:MaskedEditExtender>
                    <br />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label9" runat="server" Text="Celular:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="txtCelular" runat="server"></asp:TextBox>
                    <asp:MaskedEditExtender ID="txtCelular_MaskedEditExtender" runat="server" 
                        CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                        CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                        CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                        Mask="(99)9999-9999" TargetControlID="txtCelular">
                    </asp:MaskedEditExtender>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    <asp:Label ID="Label10" runat="server" Text="Status:"></asp:Label>
                </td>
                <td class="style2">
                    <asp:CheckBox ID="ckbAtivo" runat="server" Text="Ativo" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;</td>
                <td class="style2">
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style1">
                    &nbsp;
                    <asp:Button ID="btnCadastrar" runat="server" Text="Cadastrar" 
                        onclick="btnCadastrar_Click" style="margin-left: 8px" />
                </td>
                <td class="style2">
                    <asp:Button ID="btnLimpar" runat="server" Text="Limpar" Width="70px" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
</asp:Content>
